﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="hoidongInfo.ascx.cs" Inherits="uicontrol_hoidongInfo" %>
<script type="text/javascript" src="../App_Themes/function.js"></script>

<asp:Label ID="Label2" runat="server" CssClass="LabelTitle" Text="DANH SÁCH HỘI ĐỒNG CỦA CÔNG TY"></asp:Label><br />
<br />
    <form class="form-search">
    <asp:TextBox ID="txtSearchIn" runat="server" CssClass="input-medium search-query" MaxLength="255" TabIndex="1"></asp:TextBox>
    <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="Tìm kiếm" class="btn" TabIndex="2" /><input type="text" style="display:none; width: 0px;" size="0" />
    </form>
<table class="table">
    
    <tr>
        <td style="width: 755px"><asp:Label ID="lblSearchResult" CssClass="LabelResult" runat="server"></asp:Label></td>
    </tr>   
    <tr>
        <td style="width: 755px">
            <asp:GridView ID="grvHD" runat="server" AutoGenerateColumns="False" AllowPaging="True" DataKeyNames="MaHoiDong" OnRowCreated="grvHD_RowCreated" OnRowCommand="grvHD_RowCommand" OnRowDataBound="grvHD_RowDataBound" PageSize="5" OnPageIndexChanging="grvHD_PageIndexChanging" CssClass="Grv" TabIndex="3">
                <Columns>
                    <asp:TemplateField>
                        <HeaderTemplate>
                        <asp:CheckBox ID="CheckAll" onclick="return check_uncheck(this);" runat="server" />
                        </HeaderTemplate>
                        <ItemTemplate>
                        <asp:CheckBox ID="deleteRec" onclick="return check_uncheck(this);" runat="server" />
                        </ItemTemplate>                    
                    </asp:TemplateField>
                    <asp:BoundField DataField="MaHoiDong" HeaderText="M&#227; Hội Đồng"/>
                    <asp:BoundField DataField="TenHoiDong" HeaderText="T&#234;n Hội Đồng" />
                    <asp:BoundField DataField="MaDoanhNghiep" HeaderText="M&#227; Doanh Nghiệp"/>
                    <asp:BoundField DataField="TenDoanhNghiep" HeaderText="T&#234;n Doanh Nghiệp" />
                    <asp:BoundField DataField="NgayThanhLap" HeaderText="Ng&#224;y th&#224;nh lập" DataFormatString="{0:dd/MM/yyyy}" HtmlEncode="False"/>
                    <asp:BoundField DataField="QuyetDinh" HeaderText="Quyết định" />
                    <asp:BoundField DataField="NguoiKy" HeaderText="Người k&#253;" />                                        
                    <asp:CommandField ButtonType="Image"
                        SelectText="Chọn" SelectImageUrl="~/App_Themes/Default/Css/images/edit.gif" HeaderText="Sửa" ShowHeader="True" ShowSelectButton="True" />
                </Columns>                
                <PagerStyle CssClass="GrvPagerStyle"/>
                <HeaderStyle CssClass="GrvHeader" />
                <RowStyle CssClass="GrvRowStyle"/>
                <AlternatingRowStyle CssClass="GrvAlternatingRowStyle" />                                
            </asp:GridView>
        </td>
    </tr>
    <tr>
        <td style="width: 755px"><asp:Label ID="lblNotice" Visible="false" CssClass="LabelNotify" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td style="width: 755px">
            <asp:Button ID="XoaHD" Text="Xóa Hội đồng" OnClientClick="return confirmMsg(this.form)" runat="server" OnClick="XoaHD_Click" TabIndex="4" class="btn" />
        </td>
    </tr>
</table>